import React, { Component } from 'react'

export default class RouteComp2 extends Component {
  render() {
    return (
      <div>
        <h2>RouteComp22222</h2>
        <p>params count1: {this.props.match.params.count1}</p>
        <p>query count2: {this.props.location.search}</p>
        <p>state count3: {this.props.location.state && this.props.location.state.count3}</p>
      </div>
    )
  }
}
